package phoenix.web.locators.maturedating;

import org.openqa.selenium.By;
import phoenix.web.locators.base.FunnelPageLocatorsBase;

/**
 * Created by AlexGolovko on 01.12.2014.
 */
public class FunnelPageLocators extends FunnelPageLocatorsBase
{
	public FunnelPageLocators()
	{
		// Funnel form
		blockFunnelPopup = By.id("funnel-popup-item");
		txtScreenName = By.xpath("//input[@name='userAttributes[screenname]']");
		// About
		txtDescription = By.xpath("//textarea[@class='about']");
		// Gender
		selectGender = By.xpath("//form[@id='FunnelForm']/section[2]/div[2]/div/div[2]/div");

		// Age
		selectAgeFrom = By.xpath("//form[@id='FunnelForm']/section[2]/div[2]/div[2]/div[2]/div/div");
		selectAgeTo = By.xpath("//form[@id='FunnelForm']/section[2]/div[2]/div[2]/div[3]/div/div");
		// Distance
		selectDistance = By.xpath("//form[@id='FunnelForm']/section[2]/div[3]/div[2]/div[2]/div");

		txtLocation = By.xpath("//input[@id='funnelLocale']");
		// Buttons
		btnNextStep = By.xpath("//button[@class='btn-save btn-text-green']");

		// PhotoUploader
		blockPhotoUploader = By.id("ProfilePhotoUploadForm");
		// Element uploaded photo
		blockPhotoImage = By.xpath("//*[@id='profilePhotoList']//img[@data-photo='data-photo']");
		// Remove button
		btnRemovePhoto = By.cssSelector("a.btn.btn-remove");

		// Submit photo
		btnSave = By.xpath("//button[@id='PhotoMotivationSave']");

		liAgeTo = "//div[@class='field age-to select-output-dropdown dark active']/*//ul/li";
	}
}
